#-------------------------------------------------
#
# Project created by QtCreator 2016-11-09T14:46:02
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets xml

TARGET = JoyStickFunction
TEMPLATE = lib

DEFINES += JOYSTICFUNCTION_LIBRARY

SOURCES +=joystickdelegate.cpp \
    joystickview.cpp

HEADERS +=joystickdelegate.h \
    joystickview.h

INCLUDEPATH += ../CommunicateDelegate
INCLUDEPATH += ../ProgramSet
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH += ../DomParser

unix {
    target.path = /usr/lib
    INSTALLS += target
}

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
}

#编译目录
UI_DIR += ../build/hmi
MOC_DIR += ../build/hmi
OBJECTS_DIR += ../build/hmi
RCC_DIR += ../build/hmi

FORMS += \
    joystickview.ui
